using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MMM.Core.Domain;
using ServiceStack.ServiceHost;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;


namespace MMM.Services.Type
{
    [Serializable]
    [Route("/api/agentInfo", "POST,PUT")]
    [Route("/api/agentInfoQ", "GET")]
    public class AgentInfo : EntityBase<AgentInfo>
    {
        /// <summary>
        /// 企业中文名称
        /// </summary>
        [StringLength(50)]
        public String ChineseFullName { get; set; }
        /// <summary>
        /// 授权ID
        /// </summary>
        [StringLength(50)]
        public String AuthorizationID { get; set; }
        /// <summary>
        /// 地区
        /// </summary>
        [StringLength(50)]
        public String Area { get; set; }
        /// <summary>
        /// 地区编号
        /// </summary>
        [StringLength(50)]
        public String AreaCode { get; set; }
        /// <summary>
        /// 工商注册号
        /// </summary>
        [StringLength(50)]
        public String BankNumber { get; set; }
        /// <summary>
        /// 注册地
        /// </summary>
        [StringLength(50)]
        public String RegisterRoom { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(200)]
        public String Remark { get; set; }
        /// <summary>
        /// 性质
        /// </summary>
        [StringLength(50)]
        public String Property { get; set; }
        /// <summary>
        /// 规模
        /// </summary>
        public int Scope { get; set; }
        /// <summary>
        /// 主页
        /// </summary>
        [StringLength(50)]
        public String HomePage { get; set; }
        /// <summary>
        /// 上级单位
        /// </summary>
        [StringLength(50)]
        public String HigherUnit { get; set; }
        /// <summary>
        /// 办公所在地
        /// </summary>
        [StringLength(50)]
        public String WorkPlace { get; set; }
        /// <summary>
        /// 公司所在地
        /// </summary>
        [StringLength(50)]
        public String CompanyPlace { get; set; }     
    }
}
